# encoding: utf-8
#sdk version: 2.2.1060.13-SNAPSHOT

from sdktest_module.utils.api_base_builder import ApiBaseBuilder, parameter

class SetThunderPlayerViewApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.setThunderPlayerView"

	@parameter(1,"android.view.ViewGroup")
	def viewGroup(self, viewGroup):
		return self

	@parameter(2,"tv.athena.live.api.wath.bean.LineStreamInfo")
	def lineStreamInfo(self, lineStreamInfo):
		return self

class SetRoomInfoListenerApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.setRoomInfoListener"

	@parameter(1,"tv.athena.live.api.roominfov2.RoomInfoV2Listener")
	def listenerBuilder(self, listenerBuilder):
		return self

class SetMicInfoListenerApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.setMicInfoListener"

	@parameter(1,"tv.athena.live.api.wath.MicInfoListener")
	def micInfoListener(self, micInfoListener):
		return self

class SetLineStreamInfoListenerApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.setLineStreamInfoListener"

	@parameter(1,"tv.athena.live.api.wath.AudienceLineStreamInfoListener")
	def listener(self, listener):
		return self

class GetCdnLineStreamInfoApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.getCdnLineStreamInfo"

class GetMicInfosApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.getMicInfos"

class GetMicInfoApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.getMicInfo"

	@parameter(1,"int")
	def position(self, position):
		return self

class GetLiveStatusByUidApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.getLiveStatusByUid"

	@parameter(1,"long")
	def uid(self, uid):
		return self

class GetLiveRoomInfoV1ApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.getLiveRoomInfoV1"

	@parameter(1,"long")
	def uid(self, uid):
		return self

	@parameter(2,"int")
	def liveBzType(self, liveBzType):
		return self

	@parameter(3,"tv.athena.live.api.IDataCallback")
	def callback(self, callback):
		return self

class GetLiveRoomInfoApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.getLiveRoomInfo"

class GetChannelInfoListApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.getChannelInfoList"

	@parameter(1,"int[]")
	def channelTypes(self, channelTypes):
		return self

	@parameter(2,"int[]")
	def roleIds(self, roleIds):
		return self

	@parameter(3,"int[]")
	def businessType(self, businessType):
		return self

	@parameter(4,"tv.athena.live.api.IDataCallback")
	def callback(self, callback):
		return self

class ForceNotifyMicInfosApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.forceNotifyMicInfos"

class ForceNotifyChannelInfoApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.forceNotifyChannelInfo"

